package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 报分类汇总信息对象 rep_pro
 * 
 * @author renfx
 * @date 2021-09-10
 */
public class RepProList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 序号 */
    @Excel(name = "序号")
    private Integer orderNum;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 型号 */
    @Excel(name = "型号")
    private String productType;

    /** 描述 */
    @Excel(name = "描述")
    private String detail;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 数量 */
    @Excel(name = "数量")
    private Long amount;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 主设备类型 */
    @Excel(name = "主设备类型")
    private Integer mainDeviceType;

    /** 主设备名称 */
    @Excel(name = "主设备名称")
    private String dictLabel;

    public String getDictLabel() {
        return dictLabel;
    }

    public void setDictLabel(String dictLabel) {
        this.dictLabel = dictLabel;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setMainDeviceType(Integer mainDeviceType) 
    {
        this.mainDeviceType = mainDeviceType;
    }

    public Integer getMainDeviceType() 
    {
        return mainDeviceType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNum", getOrderNum())
            .append("productName", getProductName())
            .append("productType", getProductType())
            .append("detail", getDetail())
            .append("brand", getBrand())
            .append("amount", getAmount())
            .append("price", getPrice())
            .append("mainDeviceType", getMainDeviceType())
            .toString();
    }
}
